package com.cxq.unsafe;

/**
 * Created by cxq on 2020/7/25.
 */
public class TicketsCenter {
    public static void main(String[] args) {
        Tickets tickets = new Tickets();
        Thread thread1 = new Thread(tickets,"窗口1");
        Thread thread2 = new Thread(tickets,"窗口2");
        Thread thread3 = new Thread(tickets,"窗口3");
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
